// eslint-disable-next-line no-unused-vars
import VXETable, { Column } from 'vxe-table'
import Price from '../../../components/Price'

VXETable.renderer.add('Price', {
  renderDefault(h, renderOpts, { row, column }) {
    return [<Price value={row[column.property]} />]
  }
})

/** @type { Column } */
export const options = {
  showOverflow: 'tooltip',
  align: 'right'
}
